<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<title>KindEditor</title>
	<style type="text/css" rel="stylesheet">
		.editor {
			margin-top: 5px;
			margin-bottom: 5px;
		}
	</style>
	<script type="text/javascript" charset="utf-8" src="./../kindeditor.js"></script>
	<script type="text/javascript">
		KE.show({
			id : 'content1',
			cssPath : './index.css',
			resizeMode : 0,
			afterCreate : function(id) {
				KE.toolbar.disable(id, []);
				KE.readonly(id);
				KE.g[id].newTextarea.disabled = true;
			}
		});
	</script>
  </head>
  <body>
	<h3>只读模式</h3>
	<div class="editor">
	  <textarea id="content1" name="content" style="width:700px;height:400px;visibility:hidden;">
		<strong>月下独酌</strong> - 李白<br /><br />
		花间一壶酒，独酌无相亲。<br /><br />
		举杯邀明月，对影成三人。<br /><br />
		月既不解饮，影徒随我身。<br /><br />
		暂伴月将影，行乐须及春。<br /><br />
		我歌月徘徊，我舞影零乱。<br /><br />
		醒时同交欢，醉后各分散。<br /><br />
		永结无情游，相期邈云汉。<br /><br /></textarea>
	</div>
  <!-- 7caihu.com Baidu tongji analytics -->
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Fb8797ecb21d1ccb839c35b190277a0cd' type='text/javascript'%3E%3C/script%3E"));
</script>
</body>
</html>
